package com.gl.emms.whale.util;

import java.io.Serializable;

import android.R.integer;

/**
 * 一个聊天消息的JavaBean
 * 
 * @author way
 * 
 */
public class SystemMsgEntity implements Serializable{
	private int msgid;// 消息来自
	private String msgtitle;// 消息来自
	private String date;// 消息日期
	private String msgfrom;// 消息来源
	private String msgto;// 消息来源
	private String message;// 消息内容
	private int img;//消息图片
	private int isreaded ;// 是否已读

	public SystemMsgEntity() {

	}

	public SystemMsgEntity(int msgid,String msgtitle, String date, String msgfrom, String msgto, String message, int img,
			int isreaded) {
		super();
		this.msgid = msgid;
		this.msgtitle = msgtitle;
		this.date = date;
		this.msgfrom = msgfrom;
		this.msgto = msgto;
		this.message = message;
		this.img = img;
		this.isreaded = isreaded;
	}
	public int getMsgId() {
		return msgid;
	}

	public void setMsgId(int msgid) {
		this.msgid = msgid;
	}
	public String getMsgTitle() {
		return msgtitle;
	}

	public void setMsgTitle(String msgtitle) {
		this.msgtitle = msgtitle;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}
	public String getMsgFrom() {
		return msgto;
	}

	public void setMsgTo(String msgto) {
		this.msgto = msgto;
	}
	public String getMsgTo() {
		return msgfrom;
	}

	public void setMsgFrom(String msgfrom) {
		this.msgfrom = msgfrom;
	}
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getImg() {
		return img;
	}

	public void setImg(int img) {
		this.img = img;
	}
	public int getIsreaded() {
		return isreaded;
	}

	public void setIsreaded(int isreaded) {
		this.isreaded = isreaded;
	}
}
